package huhx.linux.com.kotlinlearn.model;

import com.google.gson.Gson;

public class UserEvent {
    private String username;
    private String passwork;

    public UserEvent(String username, String passwork) {
        this.username = username;
        this.passwork = passwork;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasswork() {
        return passwork;
    }

    public void setPasswork(String passwork) {
        this.passwork = passwork;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}